package com.maolong.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.maolong.pojo.dto.DeptDTO;
import com.maolong.pojo.entity.Dept;
import org.apache.ibatis.annotations.Param;

public interface DeptMapper extends BaseMapper<Dept> {

    IPage<Dept> selectByConditions(@Param("page") Page<Dept> page, @Param("deptDTO")DeptDTO deptDTO);

}
